package com.pro.springbootshop.entityExtend;

import com.pro.springbootshop.entity.HistoryOrder;
import lombok.Data;

import java.util.List;

@Data
public class HistoryOrderReturn {
    private List<HistoryOrder> historyOrderList;
    private int total;

    public HistoryOrderReturn(List<HistoryOrder> historyOrderList, int total) {
        this.historyOrderList = historyOrderList;
        this.total = total;
    }
}
